window.onload = function () {
    let spanList = document.getElementsByClassName("ts-num");
    let his = 0;
    let tem = 0;
    let level = 0;
    let area = 0;
    spanList[0].innerHTML = his;
    spanList[1].innerHTML = tem;
    spanList[2].innerHTML = level;
    spanList[3].innerHTML = area;

    let time1 = setInterval(() => {
        spanList[0].innerHTML = ++his;
        if(his==138){
            clearInterval(time1);
        }
    }, 15)
    let time2 = setInterval(() => {
        spanList[1].innerHTML = ++tem;
        if(tem==95){
            clearInterval(time2);
        }
    }, 20)
    let time3 = setInterval(() => {
        spanList[2].innerHTML = ++level;
        if(level==1){
            clearInterval(time3);
        }
    }, 100)
    let time4 = setInterval(() => {
        spanList[3].innerHTML = ++area;
        if(area==567){
            clearInterval(time4);
        }
    }, 1)
}